<?php
include_once($_SERVER['DOCUMENT_ROOT'] ."/core/inc.php");

class prodect_main extends main
{
	function check_cgi_pro()
	{	
		cgi::both($this->g_cgival["p"], "p", 0 );
		
		$db_food_tag = new db_food_tag();
		echo "check_cgi_pro";
	}
	function get_data()
	{
		$this->g_show["test"] = 1;
		echo "get_data";
	}
	function show_pro()
	{
		$file_type ="page"; //or interface
		parent::show_pro($file_type);	
		
	}
	
	
}

$prodect_main = new prodect_main();
$prodect_main->main_do();
